package com.hyt.it.ogt.ykcj.service.exam;

import java.util.List;
import java.util.Set;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hyt.it.ogt.ykcj.domain.exam.ExamResultDataDownLoadRecord;


/**
 */
public interface IExamResultDataDownLoadRecordService extends IService<ExamResultDataDownLoadRecord> {


	/**
	 * 获取最新的文件类型下载记录
	 * @param examId
	 * @param officeId
	 * @param fileType
	 * @return
	 * @throws Exception
	 */
	ExamResultDataDownLoadRecord getExamResultDataDownLoadRecord(String examId, String officeId, String fileType) throws Exception;

	/**
	 * 获取文件类型下载记录次数
	 * @param examId
	 * @param officeId
	 * @param fileType
	 * @return
	 * @throws Exception
	 */
	Integer getExamResultDataDownLoadRecordTimes(String examId, String officeId, String fileType) throws Exception;

	/***
	 * 根据项目id和文件类型获取是否有在图的记录
	 * @param examIds
	 * @param type
	 * @return
	 */
	List<ExamResultDataDownLoadRecord> getIsRunningDownloadZip(Set<String> examIds, String type);
	
	
}
